package com.pur.zsms.matermanage.mater.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_material_type")
/**
 * 材料实体类
 * @author 周
 *
 */
public class MaterTypePo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "mater_type")
	private int materType;

	@Column(name = "mater_type_name")
	private String materTypeName;

	@Column(name = "order_id")
	private int orderId;

	@Column(name = "parent")
	private int parent;

	@Column(name = "level")
	private int level;

	@Column(name = "sup_id")
	private long supId;

	@Column(name = "is_active")
	private String isActive;

	@Column(name = "class_type")
	private String classType;

	public String getClassType() {
		return classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}

	public String getIsActive() {
		return isActive;
	}

	public void setIsActive(String isActive) {
		this.isActive = isActive;
	}

	public int getMaterType() {
		return materType;
	}

	public void setMaterType(int materType) {
		this.materType = materType;
	}

	public String getMaterTypeName() {
		return materTypeName;
	}

	public void setMaterTypeName(String materTypeName) {
		this.materTypeName = materTypeName;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getParent() {
		return parent;
	}

	public void setParent(int parent) {
		this.parent = parent;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public long getSupId() {
		return supId;
	}

	public void setSupId(long supId) {
		this.supId = supId;
	}

}
